import axios from 'axios';


/**
 * @description 获取地图json
 */
export async function useGetMapJson(code){
    if([null,undefined,10000].includes(code)){
        return import("../assets/map-json/100000.json");
    }
    return import("../assets/map-json/provinces/"+code+".json");
}

export async function useGetMapCodeJson(){
    return import("../assets/map-json/map-code.json");
}